package com.project.dao;

import com.project.entity.Cv;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:41
 * @param:
 * @return:
 */
public interface CvMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cv record);

    int insertSelective(Cv record);

    Cv selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cv record);

    int updateByPrimaryKey(Cv record);

    /**
     * author: WheelChen
     * date: 2017/9/7
     * function: 根据条件查找简历
     *
     * @param cv
     * @return
     */
    List<Cv> selectByCondition(Cv cv);

    /**
     * author: WheelChen
     * date: 2017/9/27
     * function: 根据学校id批量查找简历
     *
     * @param stid
     * @return
     */
    List<Cv> selectBatchByStid(Integer stid);

    /**
     * author: WheelChen
     * date: 2017/10/22
     * function: 根据学生信息表idList批量查找简历
     *
     * @param stidList
     * @return
     */
    List<Cv> selectBatchByStidList(List stidList);
}
